package no.rodland.acc.db;

import org.joda.time.DateTime;

/**
 * Created by IntelliJ IDEA.
 *
 * @Since: Jun 18, 2010 12:08:44 PM
 * @Author: fmr
 */
public interface DbRow extends Comparable<DbRow> {

    public int getId();

    public String getTableName();

    public DateTime getUpdatedDate();

    public DateTime getDate();

    public String getText();

    public boolean inDb();

    public boolean isNew();

    public Object[] getData();

    public String[] getColumns();

    public String getDeleteSql();

    public String getInsertSql();

    public String getUpdateSql();
}
